home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************/
- /* */
- /* Name: Drop Adventure Works Database.SQL */
- /* */
- /* Date: October 3, 1996 */
- /* */
- /* Demo: Adventure Works Demo */
- /* */
- /* WARNING: Executing this script will COMPLETELY delete the AWData */
- /* (Adventure Works) database and its associated data */
- /* device. */
- /* */
- /******************************************************************************/
-
- SET NOCOUNT ON
-
- DECLARE @dttm varchar(55)
- SELECT @dttm=convert(varchar,getdate(),113)
- RAISERROR('Beginning Drop Adventure Works Database.SQL at %s ....',1,1,@dttm) with nowait
- GO
-
- USE master
- GO
-
- RAISERROR('Dropping Adventure Works Database ....',1,1) with nowait
- GO
-
- DROP DATABASE AWData
- GO
-
- RAISERROR('Dropping Data Device ....',1,1) with nowait
- GO
-
- sp_dropdevice AWData, DELFILE
- GO
-
- DECLARE @dttm varchar(55)
- SELECT @dttm=convert(varchar,getdate(),113)
- RAISERROR('Completed Drop Adventure Works Database.SQL at %s.',1,1,@dttm) with nowait
- GO
-
-
-
-
-
-
-